package com.zlf.sb.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zlf.sb.demo.entity.UserJsonDataEntity;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

import java.util.Collection;

@Scope("prototype")
@Repository
public interface UserJsonDataMapper extends BaseMapper<UserJsonDataEntity> {
    /**
     * 批量插入 仅适用于mysql
     *
     * @param entityList 实体列表
     * @return 影响行数
     */
    Integer insertBatchSomeColumn(Collection<UserJsonDataEntity> entityList);

}
